#pragma once

#include <WTypes.h>

/**
  *	PLTimer objects are used for simple timing operations.
  */
class PLTimer
{
public:
	PLTimer( void );

	double GetSecondsSinceConstruction( void );
	double Toc( void );

private:
	/** Number of counts since the last call of the Toc() method */
	LARGE_INTEGER mCounts;
	/** Number of counts at the construction time of the timer object */
	LARGE_INTEGER mBeginCounts;
	/** Frequency (Hz) of the performance counter */
	LARGE_INTEGER mFrequency;
};